package com.tianyu.inspection.common.enums;

/**********************************
 * @Author YSW
 * @Description 飞行状态枚举类型
 * @Date 2021/1/7 - 11:55
 **********************************/

public enum Role {

    ROLE_COMMON("通用[无需权限/无拦截]", 0),
    ROLE_SUPER_ADMIN("超级管理员", 1),
    ROLE_COMPANY_ADMIN("企业管理员", 2),
    ROLE_COMPANY_COMMON("企业普通用户", 3),
    ROLE_PATROL("巡线员", 4),
    ROLE_UAV_CONTROL("飞手", 5);

    private int value;
    private String message;

    Role(String message, int value) {
        this.message = message;
        this.value = value;
    }

    public int getValue() {
        return value;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public void setValue(int value) {
        this.value = value;
    }
}
